{% extends "base.html" %}

{% block content %}
<form method="POST" action="{% if user.pk %}{% url posecco:user user.pk %}{% else %}{% url posecco:user 0 %}{% endif %}">
	{% csrf_token %}
	{{ user_form.as_p }}
	<input type="submit" value="OK" class="button" />
</form>
{% endblock %}